package com.chtw.oasystem.service;

import com.chtw.oasystem.bean.Depts;
import com.chtw.oasystem.respBean.DeptTree;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @author chtw
 * @date 2020-11-18 22:30
 */
public interface DeptService {
    List<Depts> list();
    boolean create(HttpSession session, Depts depts);
    boolean edit(HttpSession session, Depts depts);
    boolean deleteDept(HttpSession session, String deptId);
    Depts info(String deptId);
    List<DeptTree> tree();
}
